<template>
  <div>
    <h1>{{count}}</h1>
    <h1>{{count2}}</h1>
    <button @click="count++">++</button>
  </div>
</template>

<script>


  export default {
    data() {
      return {
       count:99
      }
    },
    computed:{
        count2:{
          get(){
            return this.count*2
          },
          set(num){
            this.count=num
          }
        }
      }
   
  }
</script>

<style lang="scss" scoped>

</style>
